#include <stdio.h>

int main(void) {
	int a, b, c;
	int t;
	scanf("%d %d %d", &a, &b, &c);
	if (a > b) {
		t = a;
		a = b;
		b = t;
	}
	if (a > c) {
		t = a;
		a = c;
		c = t;
	}
	if (b > c) {
		t = b;
		b = c;
		c = t;
	}
	if (a + b > c) {
		if (a * a + b * b > c * c) {
			printf("Acute triangle\n");
			if (a == b ) {
				printf("Isosceles triangle\n");
				if (b == c) {
					printf("Equilateral triangle\n");
				}
			}
		} else if (a * a + b * b == c * c) {
			printf("Right triangle\n");
			if (a == b ) {
				printf("Isosceles triangle\n");
			}
		} else {
			printf("Obtuse triangle\n");
			if (a == b ) {
				printf("Isosceles triangle\n");
			}
		}
	} else {
		printf("Not triangle");
	}
	return 0;
}